#include <basic_types.h>
#include <mediatypes.h>	
#include <api/libc/alloc.h>
#include <api/libc/printf.h>
#include <osal/osal.h>

#include <hld/hld_dev.h>
#include <hld/osd/osddrv.h>
#include <sys_config.h>

#ifdef _HLD_OSD_MOD
#include <modules.h>

enum HLD_OSD_FUNC{
    FUNC_OSDDRV_IOCTL = 0,   
};

#ifndef _HLD_OSD_REMOTE
UINT32 hld_osd_entry[] = 
{
    (UINT32)OSDDrv_IoCtl,
};

void hld_osd_callee(UINT8 *msg)
{
    OS_hld_callee(hld_osd_entry, msg);
}
#endif

#ifdef _HLD_DECA_REMOTE
RET_CODE OSDDrv_IoCtl(HANDLE hDev,UINT32 dwCmd,UINT32 dwParam)
{
    jump_to_func(NULL, OS_hld_caller, dev, (HLD_HLD_MODULE<<24)|(1<<16)|FUNC_OSDDRV_IOCTL, NULL);
}
#endif
#endif

